#pragma once
#include "MprpcConfig.h"

// mprpc框架的基础类
class MprpcApplication
{
public:
    MprpcApplication(const MprpcApplication &) = delete;
    MprpcApplication(MprpcApplication &&) = delete;
    static void Init(int argc, char **argv);
    static MprpcApplication &GetInstance();
    static MprpcConfig &GetConfig();

private:
    static MprpcConfig m_config;
    MprpcApplication() = default;
};
